package com.zsh.myserver.dto;

import com.zsh.myserver.validators.PasswordValid;
import lombok.*;

/**
 * Copyright (C), 2020-2020
 * Author: Zhoushaohua
 * Date: 2020/4/12 14:20
 * Description: DTO数据传入对象
 */
//@AllArgsConstructor//全参数的构造函数
//@NoArgsConstructor
//@RequiredArgsConstructor
@Builder
@Getter
@Setter
@PasswordValid
public class PersonDTONew {
    @NonNull
    private String name;
    private int age;

    private String real_pwd;
    private String password1;
    private String password2;
}
